Skip to content

frenzymadness/CVE-2021-3572

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CVE-2021-3572

This repository is designed for testing CVE-2021-3572 in pypa/pip.

For more information, see these resources:

Also, see the tags and first two commits in this repository.

Testing

Vulnerable version of pip (<21.1) installs version 9999.0 but the fixed version installs the correct version 1.0:

Vulnerable version

$ pip install "pip<21.1"
Successfully installed pip-21.0.1

$ pip install git+https://github.com/frenzymadness/CVE-2021-3572.git@original_version

$ pip list
Package       Version
------------- -------
cve-2021-3572 9999.0
pip           21.0.1
setuptools    56.2.0
wheel         0.36.2

Fixed version

$ pip install -U pip
Successfully installed pip-21.1.2

$ pip install git+https://github.com/frenzymadness/CVE-2021-3572.git@original_version

$ pip list
Package       Version
------------- -------
cve-2021-3572 1.0
pip           21.1.2
setuptools    56.2.0
wheel         0.36.2

About

A simple repository helping to test CVE-2021-3572 in PyPA/pip

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages